/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
    height: 50px;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}
@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}


/*
 * Main content
 */

.main {
    padding: 20px;
}
@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}
.main .page-header {
    margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}
.placeholders h4 {
    margin-bottom: 0;
}
.placeholder {
    margin-bottom: 20px;
}
.placeholder img {
    display: inline-block;
    border-radius: 50%;
}

/*
 * Account popup
 */
.navbar-content
{
    width:320px;
    padding: 15px;
    padding-bottom:0px;
    border-bottom: solid 1px #DDD;
}

.list-group {
    margin-bottom: 0px;
}

.list-group-item:last-child:first-child {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom: solid 1px #DDD;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;

}

.message-container {
    width:320px;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-content:before, .navbar-content:after
{
    display: table;
    content: "";
    line-height: 0;
}
.navbar-nav.navbar-right:last-child {
    margin-right: 15px !important;
}
.navbar-footer
{
    background-color:#EEE;
}
.navbar-footer-content { padding:15px 15px 15px 15px; }
.dropdown-menu {
    padding: 0px;
    overflow: hidden;
}

/*
* Panel, utile per quelli nella sidebar di sinistr
*/

.left-panel {
    margin: 10px;
}

.panel-text {
    margin-bottom: 15px;
}

/*Serve a mostrare il titolo My Calendar e il pulsante new event sulla stessa riga
*/
h1 .btn-group { display: inline-block; }


.table td {
    vertical-align: middle !important;
}

.divider-vertical {
    height: 100px;                   // any height
border-left: 1px solid gray;     // right or left is the same
float: left;                     // so BS grid doesn't break
opacity: 0.5;                    // optional
margin: 0 15px;                  // optional
}

.modify-button {
    margin-left: 10px;
}